package edu.ycu.aladdin.web.aspect;

import java.lang.annotation.*;

/**
 * @author <a href="mailto:wangruihuano@gmail.com">王瑞环</a>
 * @since 1.0
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NeedLogin {

    /**
     * 用户角色
     * @return
     */
    String role() default "user";
}
